package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 审核记录表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "examine_record")
public class ExamineRecord implements Serializable {
    /**
     * 审核记录ID
     */
    @TableId(value = "record_no", type = IdType.INPUT)
    private Integer recordNo;

    /**
     * 审批ID
     */
    @TableField(value = "examine_id")
    private Integer examineId;

    /**
     * 当前进行的审批步骤ID
     */
    @TableField(value = "examine_step_id")
    private Integer examineStepId;

    /**
     * 审核状态 0 未审核 1 审核通过 2 审核拒绝 3 审核中 4 已撤回
     */
    @TableField(value = "examine_status")
    private Integer examineStatus;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private Integer createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 审核备注
     */
    @TableField(value = "remarks")
    private String remarks;

    private static final long serialVersionUID = 1L;
}